﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebService.BusinessEntities
{
    /// <summary>
    /// Encja sluzaca do zapisu stanu gry
    /// </summary>
    public partial class GameResult :GameHistory
    {
        public GameResult()
        {
        }
        /// <summary>
        /// Konstruktor parametrowy encji sluzacej do zapisu stanu gry
        /// </summary>
        /// <param name="completion_date">Data zakonczenia</param>
        /// <param name="room_name">Nazwa pokoju</param>
        /// <param name="start_date">Data rozpoczecia</param>
        /// <param name="type">Typ</param>
        /// <param name="ids">Identyfikatory graczy</param>
        /// <param name="money">Stan pieniedzy graczy w grze</param>
        public GameResult(System.DateTime completion_date, System.String room_name,
            System.DateTime start_date, System.String type,
            System.String ids, System.String money)
        {
            base.completion_date = completion_date;
            base.room_name = room_name;
            base.start_date = start_date;
            base.type = type;
            this.ids = ids;
            this.money = money;
        }
               
        private String idsField;
        /// <summary>
        /// Identyfikatory grajacych
        /// </summary>
        public String ids
        {
            get { return idsField; }
            set { idsField = value; }
        }
        
        private String moneyField;
        /// <summary>
        /// Stan konta grajacych po rozegranej grze
        /// </summary>
        public String money
        {
            get { return moneyField; }
            set { moneyField = value; }
        }
	
    }
}

